import { createRouter, createWebHashHistory } from "vue-router";
import words from "../views/words/index.vue";
import order from "../views/order/index.vue";

const routes = [
  {
    path: "/words",
    name: "words",
    component: words,
  },
  {
    path: "/order",
    name: "order",
    component: order,
  }
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
